package com.yanfan.ccapi.service;

import com.yanfan.ccapicode.dao.entity.ThirdPartyClientDO;

import java.util.List;

/**
 * 云云对接客户端Service接口
 *
 * @author kerwincui
 * @date 2025-06-29
 */
public interface ICcapiThirdPartyClientService {
    /**
     * 查询云云对接客户端
     *
     * @param clientId 云云对接客户端主键
     * @return 云云对接客户端
     */
    public ThirdPartyClientDO selectCcapiThirdPartyClientByClientId(String clientId);

    /**
     * 查询云云对接客户端列表
     *
     * @param ccapiThirdPartyClient 云云对接客户端
     * @return 云云对接客户端集合
     */
    public List<ThirdPartyClientDO> selectCcapiThirdPartyClientList(ThirdPartyClientDO ccapiThirdPartyClient);

    /**
     * 新增云云对接客户端
     *
     * @param ccapiThirdPartyClient 云云对接客户端
     * @return 结果
     */
    public boolean insertCcapiThirdPartyClient(ThirdPartyClientDO ccapiThirdPartyClient);

    /**
     * 修改云云对接客户端
     *
     * @param ccapiThirdPartyClient 云云对接客户端
     * @return 结果
     */
    public boolean updateCcapiThirdPartyClient(ThirdPartyClientDO ccapiThirdPartyClient);

    /**
     * 批量删除云云对接客户端
     *
     * @param clientIds 需要删除的云云对接客户端主键集合
     * @return 结果
     */
    public boolean deleteCcapiThirdPartyClientByClientIds(String[] clientIds);

    /**
     * 删除云云对接客户端信息
     *
     * @param clientId 云云对接客户端主键
     * @return 结果
     */
    public boolean deleteCcapiThirdPartyClientByClientId(String clientId);
}
